/**
 * Created with IntelliJ IDEA.
 * User: wangyanginfo
 * Date: 12-10-12
 * Time: 下午5:02
 */
var title = '提示信息';
function alert(message) {
    $.messager.alert(title, '<br/>' + message);
}

function confirm(message, fn) {
    var reslut = false;
    $.messager.confirm(title, '<br/>' + message, function (res) {
        if (res) {
            fn();
        }
    });
}